import axiosInstance from '@/utils/network/axios'

export interface TaskItem {
    task_id: string
    cmd: string
    start_time: string
    duration: number
    end_time: string
    progress: number
    status: string
}

export async function axg_getTaskList(): Promise<TaskItem[]> {
    const response = await axiosInstance.get(`/home/task`)
    return response.data
}
